﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C4B RID: 3147
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MusicRhythmUnlockSongSfxScNotify : IMessage<MusicRhythmUnlockSongSfxScNotify>, IMessage, IEquatable<MusicRhythmUnlockSongSfxScNotify>, IDeepCloneable<MusicRhythmUnlockSongSfxScNotify>, IBufferMessage
	{
		// Token: 0x170027A9 RID: 10153
		// (get) Token: 0x06008CB5 RID: 36021 RVA: 0x0017622D File Offset: 0x0017442D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MusicRhythmUnlockSongSfxScNotify> Parser
		{
			get
			{
				return MusicRhythmUnlockSongSfxScNotify._parser;
			}
		}

		// Token: 0x170027AA RID: 10154
		// (get) Token: 0x06008CB6 RID: 36022 RVA: 0x00176234 File Offset: 0x00174434
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MusicRhythmUnlockSongSfxScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170027AB RID: 10155
		// (get) Token: 0x06008CB7 RID: 36023 RVA: 0x00176246 File Offset: 0x00174446
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MusicRhythmUnlockSongSfxScNotify.Descriptor;
			}
		}

		// Token: 0x06008CB8 RID: 36024 RVA: 0x0017624D File Offset: 0x0017444D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmUnlockSongSfxScNotify()
		{
		}

		// Token: 0x06008CB9 RID: 36025 RVA: 0x00176260 File Offset: 0x00174460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmUnlockSongSfxScNotify(MusicRhythmUnlockSongSfxScNotify other) : this()
		{
			this.musicUnlockList_ = other.musicUnlockList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008CBA RID: 36026 RVA: 0x0017628A File Offset: 0x0017448A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmUnlockSongSfxScNotify Clone()
		{
			return new MusicRhythmUnlockSongSfxScNotify(this);
		}

		// Token: 0x170027AC RID: 10156
		// (get) Token: 0x06008CBB RID: 36027 RVA: 0x00176292 File Offset: 0x00174492
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> MusicUnlockList
		{
			get
			{
				return this.musicUnlockList_;
			}
		}

		// Token: 0x06008CBC RID: 36028 RVA: 0x0017629A File Offset: 0x0017449A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MusicRhythmUnlockSongSfxScNotify);
		}

		// Token: 0x06008CBD RID: 36029 RVA: 0x001762A8 File Offset: 0x001744A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MusicRhythmUnlockSongSfxScNotify other)
		{
			return other != null && (other == this || (this.musicUnlockList_.Equals(other.musicUnlockList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008CBE RID: 36030 RVA: 0x001762DC File Offset: 0x001744DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.musicUnlockList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008CBF RID: 36031 RVA: 0x00176310 File Offset: 0x00174510
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008CC0 RID: 36032 RVA: 0x00176318 File Offset: 0x00174518
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008CC1 RID: 36033 RVA: 0x00176321 File Offset: 0x00174521
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.musicUnlockList_.WriteTo(ref output, MusicRhythmUnlockSongSfxScNotify._repeated_musicUnlockList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008CC2 RID: 36034 RVA: 0x00176348 File Offset: 0x00174548
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.musicUnlockList_.CalculateSize(MusicRhythmUnlockSongSfxScNotify._repeated_musicUnlockList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008CC3 RID: 36035 RVA: 0x00176381 File Offset: 0x00174581
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MusicRhythmUnlockSongSfxScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.musicUnlockList_.Add(other.musicUnlockList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008CC4 RID: 36036 RVA: 0x001763AF File Offset: 0x001745AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008CC5 RID: 36037 RVA: 0x001763B8 File Offset: 0x001745B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U && num != 34U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.musicUnlockList_.AddEntriesFrom(ref input, MusicRhythmUnlockSongSfxScNotify._repeated_musicUnlockList_codec);
				}
			}
		}

		// Token: 0x040035C0 RID: 13760
		private static readonly MessageParser<MusicRhythmUnlockSongSfxScNotify> _parser = new MessageParser<MusicRhythmUnlockSongSfxScNotify>(() => new MusicRhythmUnlockSongSfxScNotify());

		// Token: 0x040035C1 RID: 13761
		private UnknownFieldSet _unknownFields;

		// Token: 0x040035C2 RID: 13762
		public const int MusicUnlockListFieldNumber = 4;

		// Token: 0x040035C3 RID: 13763
		private static readonly FieldCodec<uint> _repeated_musicUnlockList_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x040035C4 RID: 13764
		private readonly RepeatedField<uint> musicUnlockList_ = new RepeatedField<uint>();
	}
}
